why are railway tracks painted red and white